package com.example.demo.model;

/**
 * 视频实体类
 */
public class VideoDO {

    //视频id
    private int id;
    //视频标题
    private String title;
    //图片
    private String img;
    //视频价格
    private double price;



    public VideoDO(int id,String title,String img,double price){
        this.id = id;
        this.title = title;
        this.img = img;
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
